
set unrar="C:\Program Files (x86)\7-Zip\7z"
set interface=../Interface/

set swc= %interface%bin/Interface.swc
set ext= %interface%src/extension.xml

set ane=./all.ane
del "%ane%"

%unrar% x %swc% -aoa -o"."

adt -package -target ane %ane% %ext% -swc%swc% -platform Android-ARM library.swf androidinfo.jar -platform QNX-ARM library.swf libBlackberryInfo-arm.so -platform iPhone-ARM library.swf libinfoext.a -platformoptions %interface%src/ios-options.xml -platform iPhone-x86 library.swf libinfoextsim.a

cp %ane% ../../Binary/all.ane

del "library.swf"
del "catalog.xml"
